import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { LoginForm } from 'src/app/common/type';
import { POST, GET } from 'src/app/common/http.function';

@Injectable({
  providedIn: 'root'
})
export class LoginService {

  constructor(private http: HttpClient) { }

  @POST('/sys/login')
  public login(data: LoginForm): Observable<any> {
    return null;
  }

  @GET('/captcha.jpg')
  public getCaptcha(param: any): Observable<any> {
    return null;
  }

}
